HDFS-16494.Removed reuse of AvailableSpaceVolumeChoosingPolicy#initLocks().#4048
Closed
jianghuazhu wants to merge 1 commit intoapache:trunkfrom
Closed
HDFS-16494.Removed reuse of AvailableSpaceVolumeChoosingPolicy#initLocks().#4048jianghuazhu wants to merge 1 commit intoapache:trunkfrom
jianghuazhu wants to merge 1 commit intoapache:trunkfrom
Conversation
|
💔 -1 overall
This message was automatically generated. |
Contributor
Author
|
Here are some unit tests that are failing. E.g: It looks like these exceptions have little to do with the update I submitted. |
Contributor
Author
|
Thanks @tomscut . |
Contributor
Author
|
Can you help review this pr, @Hexiaoqiao @ferhui . |
Contributor
Author
|
Thanks @Hexiaoqiao . |
asfgit
pushed a commit
that referenced
this pull request
Mar 16, 2022
…cks(). (#4048). Contributed by JiangHua Zhu.
Contributor
|
Committed to trunk. Thanks @jianghuazhu for your contributions! Thanks @tomscut reviews! |
HarshitGupta11
pushed a commit
to HarshitGupta11/hadoop
that referenced
this pull request
Nov 28, 2022
…cks(). (apache#4048). Contributed by JiangHua Zhu.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
When using the default constructor to build the AvailableSpaceVolumeChoosingPolicy, initLocks() is used twice, which is actually unnecessary, the purpose of this pr is to avoid this from happening.
Details: HDFS-16494
How was this patch tested?
Not too stressful for testing. Because this class is relatively mature.